package com.jeecms.wicool.dao.cms;

import java.util.List;

import com.jeecms.cms.entity.main.CmsUser;
import com.jeecms.common.hibernate3.Updater;
import com.jeecms.common.page.Pagination;
import com.jeecms.wicool.entity.cms.CmsVote;
/**
 */
public interface CmsVoteDao{
	public Pagination getPage(String title ,int pageNo, int pageSize,CmsUser user);
	public CmsVote findById(Integer id);
	public CmsVote updateByUpdater(Updater<CmsVote> updater);
	public CmsVote save(CmsVote bean);
	public CmsVote deleteById(Integer id);
	public List<CmsVote> getAll(CmsUser user);
	public boolean isHave(CmsVote bean);
	public CmsVote findByCmsVote(CmsVote bean);
	
	public CmsVote findByContentId(Integer contentId);
}